# -*- coding: utf-8 -*-
"""
@Time    : 2024/9/5 18:32 
@Author  : ZhangShenao 
@File    : 1.判断分数等级.py 
@Desc    : 判断分数等级
"""


def get_grade() -> None:
    """根据输入的分数判断等级"""
    score = int(input("请输入分数: "))
    if score >= 90:
        grade = 'A'
    elif score >= 80:
        grade = 'B'
    elif score >= 70:
        grade = 'C'
    elif score >= 60:
        grade = 'D'
    else:
        grade = 'E'
    print('对应的等级是:', grade)


if __name__ == '__main__':
    get_grade()
